package com.sky.mapper;

import com.sky.annotation.aop.AutoFill;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SetMealDishMapper {
    List<Long> getMealByDishId(List<Long> ids);

    void insert(List<SetmealDish> dishes);

    List<SetmealDish> getMealBySetmealId(@Param("setmealId") Long id);

    void deleteBySetmealId(@Param("setmealId") Long id);

    void deleteBatches(List<Long> ids);
}
